#include <arch.h>
#include <assert.h>
#include <conio.h>

/* todo: needed to kill current proc or thread!? */
void dj_assert(const char *msg, const char *file, int line) {
    /* Assertion failed at foo.c line 45: x<y */
    setcolor(0x0c);
    kprintf("Assertion failed at %s line %d: %s\n", file, line, msg);
    asm("cli");
    asm("hlt");
}
